package cn.com.idmy.auth.token;

import cn.com.idmy.auth.Device;
import org.jetbrains.annotations.NotNull;

import java.time.Duration;

public interface ITokenConfig {
    @NotNull Long id();

    @NotNull Object tokenAlgorithm();

    @NotNull Duration tokenExp();

    Object refreshTokenAlgorithm();

    Duration refreshTokenExp();

    Object idTokenAlgorithm();

    String domain();

    String path();

    Boolean secure();

    Boolean httpOnly();

    String sameSite();

    @NotNull Device device();
}